<#include "../common/head.ftl" />
<#include "../common/page.ftl" />
<!DOCTYPE html>
<html>
	<head lang="en">
		<meta charset="UTF-8">
		<title>全国数量统计列表</title>
		<@comme_head/>
		<@comme_table/>
	</head>
	<body>
		<@comme_header />
		<div class="main clearfix" id="main">
			<@comme_daohang />
			<div class="right-content">
				<div class="content">
					<div id="container">
						<div class="box-1">
							<form action="/manager/queryPageGarden">
								<input type="text" placeholder="搜索" value="${searchName!}" class="search" id="name" name="name"> 
								<input type="submit" class="fangdajing"></input>
							</form>
						</div>
						<table class="zebra">
							<caption>各园所信息统计表</caption>
							<thead>
								<tr>
									<th>园所名称</th>
									<th>园所类型</th>
									<th>老师数量</th>
									<th>家长（学生）数量</th>
									<th>点卡使用数量</th>
									<th>点卡剩余数量</th>
								</tr>
							</thead>
							<tbody>
								<#if data?size != 0>
								<#list data as being>
									<tr>
									   <td>${being.garden_name}</td>
									   <td>
											<#if being.garden_type == 0>
												私立
											<#else>
												公立
											</#if>
									   </td>
									   <td>${being.teacher_sum}</td>
									   <td>${being.student_sum}</td>
									   <td>${being.use_card}</td>
									   <td>${being.stuplus_card}</td>
									</tr>
								</#list>
								<#else>
				                	<tr>
				                        <td colspan="6">没有相关数据</td>
				                    </tr>
				                </#if>
								 <tr>
									<td colspan="6">
										<div class="pages">
											<@page pageid="" url="/manager/queryPageGarden?name=${searchName!}&&currentpageno=" />
										</div>
									</td>
								</tr>
	 						</tbody>
						</table>
					</div>
					
				</div>
			</div>
		</div>
	</body>
</html>